#ifndef IAU_INTERFACE
#define IAU_INTERFACE

extern "C"
#ifdef	AUDIO_EXPORT
#define AUDIO_INTERFACE		_declspec(dllexport)
#else
#define AUDIO_INTERFACE		_declspec(dllimport)
#endif

#include "windows.h"

class AUDIO_INTERFACE IAudio
{
public:
	virtual ~IAudio(){};

	virtual bool	Intialize(HWND hWnd) = 0;
	virtual void	Update(int iDeltaTime) = 0;
	virtual bool	Finalize() = 0;

	virtual bool	PlayAudio(const char* pcFile,bool bMusic = true) = 0;
	virtual bool	Stop(const char* pcFile) = 0;
	virtual bool	StopAll() = 0;

	virtual void	SetVolume(int iVol,bool bMusic = true) = 0;
};

extern AUDIO_INTERFACE IAudio* g_pkAudio;

extern AUDIO_INTERFACE bool IntializeAudio(const char* pcFileDir,HWND hWnd);
extern AUDIO_INTERFACE bool	FinalizeAudio();

#endif